X-ray based radiation therapy